package com.caifu.service;

import com.caifu.pojo.SysUser;
import com.caifu.pojo.YlRoom;
import net.sf.json.JSONObject;

public interface IRoomService {
    /**
    * 
    * 功能描述：查询楼层信息
    *
    * @Param
    * @Return
    * @Exception
    * @Author  GZ
    * @Date   2020/11/8 16:11
    */
    JSONObject queryFloorInfo(String floorNo) throws Exception;
    /**
    * 
    * 功能描述：查询房间信息列表
    * 
    * @Param floorNo 楼层编号
    * @Return      
    * @Exception   
    * @Author  GZ
    * @Date   2020/11/8 16:11
    */
    JSONObject queryRoomData(String floorNo) throws Exception;
    /**
    * 
    * 功能描述：保存房间信息
    * 
    * @Param room 房间信息  user 管理员信息
    * @Return      
    * @Exception   
    * @Author  GZ
    * @Date   2020/11/8 16:12
    */
    JSONObject saveRoomInfo(YlRoom room, SysUser user) throws Exception;
    /**
    * 
    * 功能描述：查询房间信息详情
    * 
    * @Param
    * @Return      
    * @Exception   
    * @Author  GZ
    * @Date   2020/11/8 16:13
    */
    JSONObject queryRoomDetails(String roomNo) throws Exception;
    /**
    * 
    * 功能描述：房间信息修改
    * 
    * @Param room 房间信息
    * @Return      
    * @Exception   
    * @Author  GZ
    * @Date   2020/11/8 16:14
    */
    JSONObject updateRoomInfo(YlRoom room) throws Exception;
    /**
    * 
    * 功能描述：删除房间信息
    * 
    * @Param roomNo 房间编号
    * @Return      
    * @Exception   
    * @Author  GZ
    * @Date   2020/11/8 16:15
    */
    JSONObject deleteRoomInfo(String roomNo) throws Exception;
}
